package copy.mark;

import copy.mark.clone.CloneType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD}) //作用范围:用在接口或类上
@Retention(RetentionPolicy.RUNTIME)
public @interface ParamMaps {
    ParamMap[] value() default {};
    //方法全局拷贝类型；深拷贝/浅拷贝
    CloneType CLONE_TYPE() default CloneType.NotDeepClone;
    boolean eagerInstance() default false;
}
